package com.mz.mattress.api.event;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

@Getter
@Setter
public class MyEvent extends ApplicationEvent {

    private String tag;
    private String message;

    public MyEvent(Object source, String tag, String message) {
        super(source);
        this.tag = tag;
        this.message = message;
    }

}
